package com.chixing.entity.VO;

import com.chixing.entity.Product;
import com.chixing.entity.ProductImg;

import java.util.List;

public class ProductImgVO {
    private Product product;
    private List<ProductImg> productImgList;
    public ProductImgVO(){}
    public ProductImgVO(Product product, List<ProductImg> productImgList) {
        this.product = product;
        this.productImgList = productImgList;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public List<ProductImg> getProductImgList() {
        return productImgList;
    }

    public void setProductImgList(List<ProductImg> productImgList) {
        this.productImgList = productImgList;
    }

    @Override
    public String toString() {
        return "ProductImgVO{" +
                "product=" + product +
                ", productImgList=" + productImgList +
                '}';
    }
}
